Failed
Scenario: Start broker for all scenarios.Scenario: Start broker for all scenarios (from org.eclipse.kapua.service.device.integration.RunDeviceBrokerIpUndefinedI9nTest)
Failing for the past 9 builds
(Since Unstable
)
Stacktrace
java.lang.ExceptionInInitializerError Caused by: org.eclipse.kapua.KapuaRuntimeException: An internal error occurred: Error while initializing org.eclipse.kapua.commons.event.ServiceEventBusManager. Caused by: java.util.ServiceConfigurationError: org.eclipse.kapua.commons.event.ServiceEventBusDriver: Provider org.eclipse.kapua.commons.event.jms.JMSServiceEventBus could not be instantiated Caused by: javax.jms.JMSException: syscall:getsockopt(..) failed: Connection refused: /127.0.0.1:5672 Caused by: io.netty.channel.AbstractChannel$AnnotatedConnectException: syscall:getsockopt(..) failed: Connection refused: /127.0.0.1:5672 Caused by: io.netty.channel.unix.Errors$NativeConnectException: syscall:getsockopt(..) failed: Connection refused
Standard Output
############################################################################### # Copyright (c) 2017, 2018 Eurotech and/or its affiliates and others # # All rights reserved. This program and the accompanying materials # are made available under the terms of the Eclipse Public License v1.0 # which accompanies this distribution, and is available at # http://www.eclipse.org/legal/epl-v10.html # # Contributors: # Eurotech - initial API and implementation ############################################################################### @broker Feature: Device Broker connection ip not set Device Service integration scenarios with running broker service. 05:06:28.939 [main] INFO o.e.kapua.qa.steps.EmbeddedBroker - Starting new instance 05:06:28.994 [main] INFO o.a.a.xbean.XBeanBrokerFactory$1 - Refreshing org.apache.activemq.xbean.XBeanBrokerFactory$1@6292c63e: startup date [Tue Oct 09 05:06:28 EDT 2018]; root of context hierarchy 05:06:29.141 [main] INFO o.a.x.s.c.v.XBeanXmlBeanDefinitionReader - Loading XML bean definitions from class path resource [activemq.xml] 05:06:29.642 [main] INFO o.a.x.s.c.v.XBeanXmlBeanDefinitionReader - Loading XML bean definitions from class path resource [camel.xml] 05:06:30.663 [main] INFO o.s.b.f.c.PropertyPlaceholderConfigurer - Loading properties file from URL [file:src/test/resources/credentials.properties] 05:06:30.806 [main] WARN o.a.activemq.broker.BrokerService - Memory Usage for the Broker (6144mb) is more than the maximum available for the JVM: 910 mb - resetting to 70% of maximum available: 637 mb 05:06:30.807 [main] INFO o.a.activemq.broker.BrokerService - Using Persistence Adapter: KahaDBPersistenceAdapter[/jobs/genie.kapua/release-1.0.x-build/workspace/qa/target/activemq/ROMmbmvZQ3Ca13yMiuSEow/kahaDB] 05:06:31.394 [main] INFO o.a.a.s.kahadb.plist.PListStoreImpl - PListStore:[/jobs/genie.kapua/release-1.0.x-build/workspace/qa/./data/message-broker/tmp_storage] started 05:06:31.557 [main] INFO o.e.k.b.c.KapuaBrokerSecurityPlugin - Installing Kapua broker plugin. 05:06:31.742 [main] INFO o.eclipse.kapua.locator.KapuaLocator - initializing Servicelocator instance... 05:06:31.742 [main] INFO o.eclipse.kapua.locator.KapuaLocator - initialize Servicelocator with the default instance... 05:06:32.680 [main] INFO o.e.kapua.locator.guice.KapuaModule - Bind Kapua factory interface org.eclipse.kapua.service.account.AccountFactory to class org.eclipse.kapua.service.account.internal.AccountFactoryImpl 05:06:32.681 [main] INFO o.e.kapua.locator.guice.KapuaModule - Bind Kapua service interface org.eclipse.kapua.service.account.AccountService to class org.eclipse.kapua.service.account.internal.AccountServiceImpl 05:06:32.682 [main] INFO o.e.kapua.locator.guice.KapuaModule - Bind Kapua factory interface org.eclipse.kapua.service.user.UserFactory to class org.eclipse.kapua.service.user.internal.UserFactoryImpl 05:06:32.682 [main] INFO o.e.kapua.locator.guice.KapuaModule - Bind Kapua service interface org.eclipse.kapua.service.user.UserService to class org.eclipse.kapua.service.user.internal.UserServiceImpl 05:06:32.682 [main] INFO o.e.kapua.locator.guice.KapuaModule - Bind Kapua service interface org.eclipse.kapua.service.authentication.AuthenticationService to class org.eclipse.kapua.service.authentication.shiro.AuthenticationServiceShiroImpl 05:06:32.682 [main] INFO o.e.kapua.locator.guice.KapuaModule - Bind Kapua factory interface org.eclipse.kapua.service.authentication.CredentialsFactory to class org.eclipse.kapua.service.authentication.shiro.CredentialsFactoryImpl 05:06:32.683 [main] INFO o.e.kapua.locator.guice.KapuaModule - Bind Kapua factory interface org.eclipse.kapua.service.authentication.credential.CredentialFactory to class org.eclipse.kapua.service.authentication.credential.shiro.CredentialFactoryImpl 05:06:32.683 [main] INFO o.e.kapua.locator.guice.KapuaModule - Bind Kapua service interface org.eclipse.kapua.service.authentication.credential.CredentialService to class org.eclipse.kapua.service.authentication.credential.shiro.CredentialServiceImpl 05:06:32.683 [main] INFO o.e.kapua.locator.guice.KapuaModule - Bind Kapua service interface org.eclipse.kapua.service.authentication.token.AccessTokenService to class org.eclipse.kapua.service.authentication.token.shiro.AccessTokenServiceImpl 05:06:32.684 [main] INFO o.e.kapua.locator.guice.KapuaModule - Bind Kapua factory interface org.eclipse.kapua.service.authentication.token.AccessTokenFactory to class org.eclipse.kapua.service.authentication.token.shiro.AccessTokenFactoryImpl 05:06:32.684 [main] INFO o.e.kapua.locator.guice.KapuaModule - Bind Kapua service interface org.eclipse.kapua.service.authorization.AuthorizationService to class org.eclipse.kapua.service.authorization.shiro.AuthorizationServiceImpl 05:06:32.684 [main] INFO o.e.kapua.locator.guice.KapuaModule - Bind Kapua factory interface org.eclipse.kapua.service.authorization.permission.PermissionFactory to class org.eclipse.kapua.service.authorization.permission.shiro.PermissionFactoryImpl 05:06:32.685 [main] INFO o.e.kapua.locator.guice.KapuaModule - Bind Kapua factory interface org.eclipse.kapua.service.authorization.access.AccessInfoFactory to class org.eclipse.kapua.service.authorization.access.shiro.AccessInfoFactoryImpl 05:06:32.685 [main] INFO o.e.kapua.locator.guice.KapuaModule - Bind Kapua service interface org.eclipse.kapua.service.authorization.access.AccessInfoService to class org.eclipse.kapua.service.authorization.access.shiro.AccessInfoServiceImpl 05:06:32.685 [main] INFO o.e.kapua.locator.guice.KapuaModule - Bind Kapua factory interface org.eclipse.kapua.service.authorization.access.AccessPermissionFactory to class org.eclipse.kapua.service.authorization.access.shiro.AccessPermissionFactoryImpl 05:06:32.685 [main] INFO o.e.kapua.locator.guice.KapuaModule - Bind Kapua service interface org.eclipse.kapua.service.authorization.access.AccessPermissionService to class org.eclipse.kapua.service.authorization.access.shiro.AccessPermissionServiceImpl 05:06:32.686 [main] INFO o.e.kapua.locator.guice.KapuaModule - Bind Kapua factory interface org.eclipse.kapua.service.authorization.access.AccessRoleFactory to class org.eclipse.kapua.service.authorization.access.shiro.AccessRoleFactoryImpl 05:06:32.686 [main] INFO o.e.kapua.locator.guice.KapuaModule - Bind Kapua service interface org.eclipse.kapua.service.authorization.access.AccessRoleService to class org.eclipse.kapua.service.authorization.access.shiro.AccessRoleServiceImpl 05:06:32.686 [main] INFO o.e.kapua.locator.guice.KapuaModule - Bind Kapua factory interface org.eclipse.kapua.service.authorization.domain.DomainFactory to class org.eclipse.kapua.service.authorization.domain.shiro.DomainFactoryImpl 05:06:32.687 [main] INFO o.e.kapua.locator.guice.KapuaModule - Bind Kapua service interface org.eclipse.kapua.service.authorization.domain.DomainRegistryService to class org.eclipse.kapua.service.authorization.domain.shiro.DomainRegistryServiceImpl 05:06:32.687 [main] INFO o.e.kapua.locator.guice.KapuaModule - Bind Kapua factory interface org.eclipse.kapua.service.authorization.group.GroupFactory to class org.eclipse.kapua.service.authorization.group.shiro.GroupFactoryImpl 05:06:32.687 [main] INFO o.e.kapua.locator.guice.KapuaModule - Bind Kapua service interface org.eclipse.kapua.service.authorization.group.GroupService to class org.eclipse.kapua.service.authorization.group.shiro.GroupServiceImpl 05:06:32.688 [main] INFO o.e.kapua.locator.guice.KapuaModule - Bind Kapua service interface org.eclipse.kapua.service.authorization.role.RoleService to class org.eclipse.kapua.service.authorization.role.shiro.RoleServiceImpl 05:06:32.688 [main] INFO o.e.kapua.locator.guice.KapuaModule - Bind Kapua factory interface org.eclipse.kapua.service.authorization.role.RoleFactory to class org.eclipse.kapua.service.authorization.role.shiro.RoleFactoryImpl 05:06:32.688 [main] INFO o.e.kapua.locator.guice.KapuaModule - Bind Kapua factory interface org.eclipse.kapua.service.authorization.role.RolePermissionFactory to class org.eclipse.kapua.service.authorization.role.shiro.RolePermissionFactoryImpl 05:06:32.688 [main] INFO o.e.kapua.locator.guice.KapuaModule - Bind Kapua service interface org.eclipse.kapua.service.authorization.role.RolePermissionService to class org.eclipse.kapua.service.authorization.role.shiro.RolePermissionServiceImpl 05:06:32.689 [main] INFO o.e.kapua.locator.guice.KapuaModule - Bind Kapua service interface org.eclipse.kapua.service.certificate.CertificateService to class org.eclipse.kapua.service.certificate.internal.CertificateServiceImpl 05:06:32.689 [main] INFO o.e.kapua.locator.guice.KapuaModule - Bind Kapua factory interface org.eclipse.kapua.service.certificate.CertificateFactory to class org.eclipse.kapua.service.certificate.internal.CertificateFactoryImpl 05:06:32.689 [main] INFO o.e.kapua.locator.guice.KapuaModule - Bind Kapua service interface org.eclipse.kapua.service.datastore.MessageStoreService to class org.eclipse.kapua.service.datastore.internal.MessageStoreServiceImpl 05:06:32.690 [main] INFO o.e.kapua.locator.guice.KapuaModule - Bind Kapua service interface org.eclipse.kapua.service.datastore.ClientInfoRegistryService to class org.eclipse.kapua.service.datastore.internal.ClientInfoRegistryServiceImpl 05:06:32.690 [main] INFO o.e.kapua.locator.guice.KapuaModule - Bind Kapua service interface org.eclipse.kapua.service.datastore.ChannelInfoRegistryService to class org.eclipse.kapua.service.datastore.internal.ChannelInfoRegistryServiceImpl 05:06:32.691 [main] INFO o.e.kapua.locator.guice.KapuaModule - Bind Kapua service interface org.eclipse.kapua.service.datastore.MetricInfoRegistryService to class org.eclipse.kapua.service.datastore.internal.MetricInfoRegistryServiceImpl 05:06:32.691 [main] INFO o.e.kapua.locator.guice.KapuaModule - Bind Kapua factory interface org.eclipse.kapua.model.config.metatype.KapuaMetatypeFactory to class org.eclipse.kapua.commons.configuration.metatype.KapuaMetatypeFactoryImpl 05:06:32.691 [main] INFO o.e.kapua.locator.guice.KapuaModule - Bind Kapua factory interface org.eclipse.kapua.service.datastore.DatastoreObjectFactory to class org.eclipse.kapua.service.datastore.internal.DatastoreObjectFactoryImpl 05:06:32.691 [main] INFO o.e.kapua.locator.guice.KapuaModule - Bind Kapua factory interface org.eclipse.kapua.service.datastore.model.query.StorablePredicateFactory to class org.eclipse.kapua.service.datastore.internal.model.query.StorablePredicateFactoryImpl 05:06:32.692 [main] INFO o.e.kapua.locator.guice.KapuaModule - Bind Kapua factory interface org.eclipse.kapua.service.device.registry.DeviceFactory to class org.eclipse.kapua.service.device.registry.internal.DeviceFactoryImpl 05:06:32.692 [main] INFO o.e.kapua.locator.guice.KapuaModule - Bind Kapua service interface org.eclipse.kapua.service.device.registry.DeviceRegistryService to class org.eclipse.kapua.service.device.registry.internal.DeviceRegistryServiceImpl 05:06:32.692 [main] INFO o.e.kapua.locator.guice.KapuaModule - Bind Kapua factory interface org.eclipse.kapua.service.device.registry.connection.DeviceConnectionFactory to class org.eclipse.kapua.service.device.registry.connection.internal.DeviceConnectionFactoryImpl 05:06:32.693 [main] INFO o.e.kapua.locator.guice.KapuaModule - Bind Kapua service interface org.eclipse.kapua.service.device.registry.connection.DeviceConnectionService to class org.eclipse.kapua.service.device.registry.connection.internal.DeviceConnectionServiceImpl 05:06:32.693 [main] INFO o.e.kapua.locator.guice.KapuaModule - Bind Kapua factory interface org.eclipse.kapua.service.device.registry.connection.option.DeviceConnectionOptionFactory to class org.eclipse.kapua.service.device.registry.connection.option.internal.DeviceConnectionOptionFactoryImpl 05:06:32.693 [main] INFO o.e.kapua.locator.guice.KapuaModule - Bind Kapua service interface org.eclipse.kapua.service.device.registry.connection.option.DeviceConnectionOptionService to class org.eclipse.kapua.service.device.registry.connection.option.internal.DeviceConnectionOptionServiceImpl 05:06:32.693 [main] INFO o.e.kapua.locator.guice.KapuaModule - Bind Kapua factory interface org.eclipse.kapua.service.device.registry.event.DeviceEventFactory to class org.eclipse.kapua.service.device.registry.event.internal.DeviceEventFactoryImpl 05:06:32.694 [main] INFO o.e.kapua.locator.guice.KapuaModule - Bind Kapua service interface org.eclipse.kapua.service.device.registry.event.DeviceEventService to class org.eclipse.kapua.service.device.registry.event.internal.DeviceEventServiceImpl 05:06:32.694 [main] INFO o.e.kapua.locator.guice.KapuaModule - Bind Kapua service interface org.eclipse.kapua.service.device.registry.lifecycle.DeviceLifeCycleService to class org.eclipse.kapua.service.device.registry.lifecycle.internal.DeviceLifeCycleServiceImpl 05:06:32.694 [main] INFO o.e.kapua.locator.guice.KapuaModule - Bind Kapua factory interface org.eclipse.kapua.service.device.call.DeviceCallFactory to class org.eclipse.kapua.service.device.call.kura.KuraDeviceCallFactoryImpl 05:06:32.695 [main] INFO o.e.kapua.locator.guice.KapuaModule - Bind Kapua factory interface org.eclipse.kapua.service.device.call.DeviceMessageFactory to class org.eclipse.kapua.service.device.call.kura.KuraMessageFactoryImpl 05:06:32.695 [main] INFO o.e.kapua.locator.guice.KapuaModule - Bind Kapua factory interface org.eclipse.kapua.service.device.management.message.KapuaRequestMessageFactory to class org.eclipse.kapua.service.device.management.commons.message.KapuaRequestMessageFactoryImpl 05:06:32.695 [main] INFO o.e.kapua.locator.guice.KapuaModule - Bind Kapua factory interface org.eclipse.kapua.service.device.management.request.GenericRequestFactory to class org.eclipse.kapua.service.device.management.request.internal.GenericRequestFactoryImpl 05:06:32.695 [main] INFO o.e.kapua.locator.guice.KapuaModule - Bind Kapua service interface org.eclipse.kapua.service.device.management.bundle.DeviceBundleManagementService to class org.eclipse.kapua.service.device.management.bundle.internal.DeviceBundleManagementServiceImpl 05:06:32.696 [main] INFO o.e.kapua.locator.guice.KapuaModule - Bind Kapua factory interface org.eclipse.kapua.service.device.management.bundle.DeviceBundleFactory to class org.eclipse.kapua.service.device.management.bundle.internal.DeviceBundleFactoryImpl 05:06:32.696 [main] INFO o.e.kapua.locator.guice.KapuaModule - Bind Kapua service interface org.eclipse.kapua.service.device.management.command.DeviceCommandManagementService to class org.eclipse.kapua.service.device.management.command.internal.DeviceCommandManagementServiceImpl 05:06:32.696 [main] INFO o.e.kapua.locator.guice.KapuaModule - Bind Kapua factory interface org.eclipse.kapua.service.device.management.command.DeviceCommandFactory to class org.eclipse.kapua.service.device.management.command.internal.DeviceCommandFactoryImpl 05:06:32.697 [main] INFO o.e.kapua.locator.guice.KapuaModule - Bind Kapua service interface org.eclipse.kapua.service.device.management.configuration.DeviceConfigurationManagementService to class org.eclipse.kapua.service.device.management.configuration.internal.DeviceConfigurationManagementServiceImpl 05:06:32.697 [main] INFO o.e.kapua.locator.guice.KapuaModule - Bind Kapua factory interface org.eclipse.kapua.service.device.management.configuration.DeviceConfigurationFactory to class org.eclipse.kapua.service.device.management.configuration.internal.DeviceConfigurationFactoryImpl 05:06:32.697 [main] INFO o.e.kapua.locator.guice.KapuaModule - Bind Kapua service interface org.eclipse.kapua.service.device.management.packages.DevicePackageManagementService to class org.eclipse.kapua.service.device.management.packages.internal.DevicePackageManagementServiceImpl 05:06:32.698 [main] INFO o.e.kapua.locator.guice.KapuaModule - Bind Kapua factory interface org.eclipse.kapua.service.device.management.packages.DevicePackageFactory to class org.eclipse.kapua.service.device.management.packages.internal.DevicePackageFactoryImpl 05:06:32.698 [main] INFO o.e.kapua.locator.guice.KapuaModule - Bind Kapua service interface org.eclipse.kapua.service.device.management.snapshot.DeviceSnapshotManagementService to class org.eclipse.kapua.service.device.management.snapshot.internal.DeviceSnapshotManagementServiceImpl 05:06:32.698 [main] INFO o.e.kapua.locator.guice.KapuaModule - Bind Kapua factory interface org.eclipse.kapua.service.device.management.snapshot.DeviceSnapshotFactory to class org.eclipse.kapua.service.device.management.snapshot.internal.DeviceSnapshotFactoryImpl 05:06:32.699 [main] INFO o.e.kapua.locator.guice.KapuaModule - Bind Kapua service interface org.eclipse.kapua.service.device.management.request.DeviceRequestManagementService to class org.eclipse.kapua.service.device.management.request.internal.DeviceRequestManagementServiceImpl 05:06:32.699 [main] INFO o.e.kapua.locator.guice.KapuaModule - Bind Kapua factory interface org.eclipse.kapua.service.tag.TagFactory to class org.eclipse.kapua.service.tag.internal.TagFactoryImpl 05:06:32.699 [main] INFO o.e.kapua.locator.guice.KapuaModule - Bind Kapua service interface org.eclipse.kapua.service.tag.TagService to class org.eclipse.kapua.service.tag.internal.TagServiceImpl 05:06:32.699 [main] INFO o.e.kapua.locator.guice.KapuaModule - Bind Kapua factory interface org.eclipse.kapua.service.user.UserFactory to class org.eclipse.kapua.service.user.internal.UserFactoryImpl 05:06:32.700 [main] INFO o.e.kapua.locator.guice.KapuaModule - Bind Kapua service interface org.eclipse.kapua.service.user.UserService to class org.eclipse.kapua.service.user.internal.UserServiceImpl 05:06:32.700 [main] INFO o.e.kapua.locator.guice.KapuaModule - Bind Kapua service interface org.eclipse.kapua.service.stream.StreamService to class org.eclipse.kapua.service.stream.internal.StreamServiceImpl 05:06:32.700 [main] INFO o.e.kapua.locator.guice.KapuaModule - Bind Kapua factory interface org.eclipse.kapua.transport.TransportClientFactory to class org.eclipse.kapua.transport.mqtt.MqttClientFactoryImpl 05:06:32.701 [main] INFO o.e.kapua.locator.guice.KapuaModule - Bind Kapua factory interface org.eclipse.kapua.message.KapuaMessageFactory to class org.eclipse.kapua.message.internal.KapuaMessageFactoryImpl 05:06:32.701 [main] INFO o.e.kapua.locator.guice.KapuaModule - Bind Kapua factory interface org.eclipse.kapua.model.config.metatype.KapuaMetatypeFactory to class org.eclipse.kapua.commons.configuration.metatype.KapuaMetatypeFactoryImpl 05:06:32.701 [main] INFO o.e.kapua.locator.guice.KapuaModule - Bind Kapua factory interface org.eclipse.kapua.model.id.KapuaIdFactory to class org.eclipse.kapua.commons.model.id.KapuaIdFactoryImpl 05:06:32.701 [main] INFO o.e.kapua.locator.guice.KapuaModule - Bind Kapua factory interface org.eclipse.kapua.commons.service.event.store.api.EventStoreFactory to class org.eclipse.kapua.commons.service.event.store.internal.EventStoreFactoryImpl 05:06:32.702 [main] INFO o.e.kapua.locator.guice.KapuaModule - Binding interceptors .. 05:06:32.706 [main] INFO o.e.kapua.locator.guice.KapuaModule - Bind service interceptor class org.eclipse.kapua.commons.event.RaiseServiceEventInterceptor to subclasses of interface org.eclipse.kapua.service.KapuaService annotated with interface org.eclipse.kapua.event.RaiseServiceEvent 05:06:32.706 [main] INFO o.e.kapua.locator.guice.KapuaModule - Binding service modules .. 05:06:33.086 [main] INFO o.eclipse.kapua.locator.KapuaLocator - initialize Servicelocator with the default instance... DONE 05:06:34.580 [main] INFO o.a.s.c.IniSecurityManagerFactory - Realms have been explicitly set on the SecurityManager instance - auto-setting of realms will not occur. 05:06:34.591 [main] INFO o.e.k.s.a.s.AuthenticationServiceShiroImpl - Shiro global session timeout set to indefinite. 05:06:34.591 [main] INFO o.e.k.s.a.s.AuthenticationServiceShiroImpl - Shiro global session validator scheduler disabled. 05:06:34.612 [main] INFO o.a.a.p.DiscardingDLQBrokerPlugin - Installing Discarding Dead Letter Queue broker plugin[dropAll=true; dropTemporaryTopics=true; dropTemporaryQueues=true; dropOnly=null; reportInterval=1000] 05:06:34.628 [main] INFO o.a.activemq.broker.BrokerService - Apache ActiveMQ 5.14.5 (message-broker, ID:hipp9-55172-1539075991412-0:1) is starting 05:06:34.628 [main] INFO o.e.k.b.c.p.KapuaSecurityBrokerFilter - >>> Security broker filter: calling start... 05:06:34.628 [main] INFO o.e.k.b.c.p.KapuaSecurityBrokerFilter - >>> Security broker filter: calling start... Initialize jaxb context 05:06:34.629 [main] INFO o.e.kapua.commons.util.ClassUtil - Initializing instance... 05:06:34.637 [main] INFO o.e.kapua.commons.util.ClassUtil - Initializing instance of. Instantiate default instance class org.eclipse.kapua.broker.core.BrokerJAXBContextProvider ... 05:06:34.637 [main] INFO o.e.kapua.commons.util.ClassUtil - Initializing broker ip resolver... DONE 05:06:34.638 [main] INFO o.e.k.b.c.p.KapuaSecurityBrokerFilter - >>> Security broker filter: calling start... Initialize authenticator 05:06:34.639 [main] INFO o.e.kapua.commons.util.ClassUtil - Initializing instance... 05:06:34.639 [main] INFO o.e.kapua.commons.util.ClassUtil - Initializing instance of. Instantiate default instance class org.eclipse.kapua.broker.core.plugin.authentication.DefaultAuthenticator ... 05:06:34.705 [main] INFO o.e.k.b.c.p.a.DefaultAuthenticator - >>> Security broker filter: calling start... Initialize system message creator 05:06:34.706 [main] INFO o.e.kapua.commons.util.ClassUtil - Initializing instance... 05:06:34.706 [main] INFO o.e.kapua.commons.util.ClassUtil - Initializing instance of. Instantiate default instance class org.eclipse.kapua.broker.core.message.system.DefaultSystemMessageCreator ... 05:06:34.706 [main] INFO o.e.kapua.commons.util.ClassUtil - Initializing broker ip resolver... DONE 05:06:34.706 [main] INFO o.e.kapua.commons.util.ClassUtil - Initializing broker ip resolver... DONE 05:06:34.706 [main] INFO o.e.k.b.c.p.KapuaSecurityBrokerFilter - >>> Security broker filter: calling start... Initialize broker ip resolver 05:06:34.707 [main] INFO o.e.kapua.commons.util.ClassUtil - Initializing instance... 05:06:34.708 [main] INFO o.e.kapua.commons.util.ClassUtil - Initializing instance of. Instantiate default instance class org.eclipse.kapua.broker.core.plugin.DefaultBrokerIpResolver ... 05:06:34.708 [main] INFO o.e.kapua.commons.util.ClassUtil - Initializing broker ip resolver... DONE 05:06:34.708 [main] INFO o.e.k.b.c.p.KapuaSecurityBrokerFilter - >>> Security broker filter: calling start... Initialize broker id resolver 05:06:34.709 [main] INFO o.e.kapua.commons.util.ClassUtil - Initializing instance... 05:06:34.709 [main] INFO o.e.kapua.commons.util.ClassUtil - Initializing instance of. Instantiate default instance class org.eclipse.kapua.broker.core.plugin.DefaultBrokerIdResolver ... 05:06:34.709 [main] INFO o.e.kapua.commons.util.ClassUtil - Initializing broker ip resolver... DONE 05:06:34.710 [main] INFO o.e.k.b.c.p.KapuaSecurityBrokerFilter - >>> Security broker filter: calling start... Initialize stealing link manager... 05:06:34.761 [main] INFO o.a.a.t.TransportServerThreadSupport - Listening for connections at: mqtt+nio://hipp9:1883?transport.maximumConnections=1000&transport.socketBufferSize=131072&transport.ioBufferSize=16384&transport.activeMQSubscriptionPrefetch=32766&transport.publishDollarTopics=true&transport.subscriptionStrategy=mqtt-virtual-topic-subscriptions 05:06:34.762 [main] INFO o.a.a.broker.TransportConnector - Connector mqtt started 05:06:34.769 [main] INFO o.a.a.t.TransportServerThreadSupport - Listening for connections at: mqtt+nio+ssl://hipp9:8883?transport.maximumConnections=1000&transport.socketBufferSize=131072&transport.ioBufferSize=16384&transport.activeMQSubscriptionPrefetch=32766&transport.publishDollarTopics=true&transport.subscriptionStrategy=mqtt-virtual-topic-subscriptions 05:06:34.769 [main] INFO o.a.a.broker.TransportConnector - Connector mqtts started 05:06:34.771 [main] INFO o.a.a.t.TransportServerThreadSupport - Listening for connections at: tcp://hipp9:61616?transport.maximumConnections=1000&transport.socketBufferSize=131072&ioBufferSize=16384&transport.activeMQSubscriptionPrefetch=32766&transport.publishDollarTopics=true&transport.subscriptionStrategy=mqtt-virtual-topic-subscriptions 05:06:34.771 [main] INFO o.a.a.broker.TransportConnector - Connector tcp started 05:06:34.776 [main] INFO o.a.activemq.broker.BrokerService - Apache ActiveMQ 5.14.5 (message-broker, ID:hipp9-55172-1539075991412-0:1) started 05:06:34.776 [main] INFO o.a.activemq.broker.BrokerService - For help or more information please see: http://activemq.apache.org 05:06:34.777 [pool-1-thread-1] INFO o.e.k.b.c.p.KapuaSecurityBrokerFilter - >>> Security broker filter: calling start... Register stealing link manager... 05:06:34.785 [pool-1-thread-1] INFO o.e.k.b.c.pool.JmsConnectionFactory - Instantiate amq embedded connection factory... 05:06:34.786 [pool-1-thread-1] INFO o.e.k.b.c.pool.JmsConnectionFactory - Using connection factory url: vm://message-broker?create=false&waitForStart=3600000&async=true 05:06:34.803 [pool-1-thread-1] INFO o.e.k.b.c.pool.JmsConnectionFactory - Instantiate activemq embedded connection factory... done 05:06:34.810 [pool-1-thread-1] INFO o.a.a.broker.TransportConnector - Connector vm://message-broker started 05:06:34.933 [pool-1-thread-1] INFO o.e.k.b.c.p.KapuaSecurityBrokerFilter - >>> Security broker filter: calling start... Register stealing link manager... DONE 05:06:35.200 [main] INFO o.e.k.b.c.r.CamelKapuaDefaultRouter - Default Camel routing... Loading configuration from file /jobs/genie.kapua/release-1.0.x-build/workspace/qa/target/test-classes/camel-routes.xml 05:06:35.961 [main] INFO o.e.k.b.c.r.CamelKapuaDefaultRouter - Default Camel routing... Loading configuration from file camel-routes.xml Found 2 parent endpoints in the route 05:06:35.961 [main] INFO o.e.k.b.c.r.CamelKapuaDefaultRouter - Regex: ^\$EDC\..* Regex: ^\$EDC\.(.*\.){2}MQTT\.BIRTH End point: bean:kapuaLifeCycleConverter?method=convertToBirth,bean:deviceMessageListener?method=processBirthMessage Regex: ^\$EDC\.(.*\.){2}MQTT\.DC End point: bean:kapuaLifeCycleConverter?method=convertToDisconnect,bean:deviceMessageListener?method=processDisconnectMessage Regex: ^\$EDC\.(.*\.){2}MQTT\.APPS End point: bean:kapuaLifeCycleConverter?method=convertToApps,bean:deviceMessageListener?method=processAppsMessage Regex: ^\$EDC\.(.*\.){2}MQTT\.LWT End point: bean:kapuaLifeCycleConverter?method=convertToMissing,bean:deviceMessageListener?method=processMissingMessage Regex: ^\$EDC\.(.*\.){2}MQTT\.NOTIFY End point: bean:kapuaLifeCycleConverter?method=convertToNotify,bean:deviceMessageListener?method=processNotifyMessage End chain Regex: .* End point: bean:kapuaDataConverter?method=convertToData,bean:dataStorageMessageProcessor?method=processMessage 05:06:35.962 [main] INFO o.e.k.b.c.r.CamelKapuaDefaultRouter - Default Camel routing... Loading configuration 'camel-routes.xml' from file '/jobs/genie.kapua/release-1.0.x-build/workspace/qa/target/test-classes/camel-routes.xml' DONE 05:06:36.761 [main] INFO o.e.k.s.d.c.rest.RestDatastoreClient - Starting Elasticsearch rest client... 05:06:36.763 [main] INFO o.e.k.s.d.c.r.EsRestClientProvider - >>> Initializing ES rest client... 05:06:36.783 [main] INFO o.e.k.s.d.c.r.EsRestClientProvider - ES Rest Client - SSL NOT enabled 05:06:37.086 [main] INFO o.e.k.s.d.c.r.EsRestClientProvider - >>> Initializing ES rest client... DONE 05:06:37.086 [main] INFO o.e.k.s.d.c.rest.RestDatastoreClient - Starting Elasticsearch rest client... DONE 05:06:37.159 [main] INFO o.a.c.i.c.DefaultTypeConverter - Loaded 186 type converters 05:06:37.184 [main] INFO o.a.camel.spring.SpringCamelContext - Apache Camel 2.16.3 (CamelContext: camelContext) is starting 05:06:37.186 [main] INFO o.a.c.m.ManagedManagementStrategy - JMX is enabled 05:06:37.346 [main] INFO o.a.c.i.DefaultRuntimeEndpointRegistry - Runtime endpoint registry is in extended mode gathering usage statistics of all incoming and outgoing endpoints (cache limit: 1000) 05:06:37.565 [main] INFO o.a.camel.spring.SpringCamelContext - AllowUseOriginalMessage is enabled. If access to the original message is not needed, then its recommended to turn this option off as it may improve performance. 05:06:37.566 [main] INFO o.a.camel.spring.SpringCamelContext - StreamCaching is not in use. If using streams then its recommended to enable stream caching. See more details at http://camel.apache.org/stream-caching.html 05:06:37.738 [main] INFO o.s.j.c.CachingConnectionFactory - Established shared JMS Connection: ActiveMQConnection {id=ID:hipp9-55172-1539075991412-4:1,clientId=null,started=false} 05:06:37.748 [main] INFO o.a.camel.spring.SpringCamelContext - Route: mainKapuaRoute started and consuming from: Endpoint[activemq://queue:Consumer.eurotech:mainRoutelisteners:EXACTLY_ONCE.VirtualTopic.%3E?acknowledgementModeName=CLIENT_ACKNOWLEDGE&asyncConsumer=false&concurrentConsumers=20&maxConcurrentConsumers=50&transacted=false] 05:06:37.753 [main] INFO o.a.camel.spring.SpringCamelContext - Route: dataMessageCommunicationErrorRoute started and consuming from: Endpoint[activemq://queue:storeCommunicationException?acknowledgementModeName=CLIENT_ACKNOWLEDGE&asyncConsumer=false&concurrentConsumers=2&maxConcurrentConsumers=5&transacted=false] 05:06:37.757 [main] INFO o.a.camel.spring.SpringCamelContext - Route: dataMessageConfigurationErrorRoute started and consuming from: Endpoint[activemq://queue:storeConfigurationException?acknowledgementModeName=CLIENT_ACKNOWLEDGE&asyncConsumer=false&concurrentConsumers=2&maxConcurrentConsumers=5&transacted=false] 05:06:37.760 [main] INFO o.a.camel.spring.SpringCamelContext - Route: dataMessageGenericErrorRoute started and consuming from: Endpoint[activemq://queue:storeGenericException?acknowledgementModeName=CLIENT_ACKNOWLEDGE&asyncConsumer=false&concurrentConsumers=2&maxConcurrentConsumers=5&transacted=false] 05:06:37.762 [main] INFO o.a.camel.spring.SpringCamelContext - Route: notProcessableMessage started and consuming from: Endpoint[activemq://queue:notProcessableMessage?acknowledgementModeName=CLIENT_ACKNOWLEDGE&asyncConsumer=false&concurrentConsumers=2&maxConcurrentConsumers=5&transacted=false] 05:06:37.762 [main] INFO o.a.camel.spring.SpringCamelContext - Total 5 routes, of which 5 is started. 05:06:37.764 [main] INFO o.a.camel.spring.SpringCamelContext - Apache Camel 2.16.3 (CamelContext: camelContext) started in 0.579 seconds 05:06:37.768 [main] INFO o.e.kapua.qa.steps.EmbeddedBroker - Setting ActiveMQ data directory to target/activemq/ROMmbmvZQ3Ca13yMiuSEow/data/message-broker 05:06:37.768 [main] INFO o.e.k.c.event.ServiceEventBusManager - Finding event bus driver instance... 05:06:38.172 [main] ERROR org.apache.qpid.jms.JmsConnection - Failed to connect to remote at: amqp://127.0.0.1:5672 05:06:38.183 [main] ERROR o.e.k.c.event.jms.JMSServiceEventBus - syscall:getsockopt(..) failed: Connection refused: /127.0.0.1:5672 javax.jms.JMSException: syscall:getsockopt(..) failed: Connection refused: /127.0.0.1:5672 at org.apache.qpid.jms.exceptions.JmsExceptionSupport.create(JmsExceptionSupport.java:86) at org.apache.qpid.jms.exceptions.JmsExceptionSupport.create(JmsExceptionSupport.java:108) at org.apache.qpid.jms.JmsConnection.connect(JmsConnection.java:168) at org.apache.qpid.jms.JmsConnectionFactory.createConnection(JmsConnectionFactory.java:204) at org.eclipse.kapua.commons.event.jms.JMSServiceEventBus$EventBusJMSConnectionBridge.<init>(JMSServiceEventBus.java:236) at org.eclipse.kapua.commons.event.jms.JMSServiceEventBus.<init>(JMSServiceEventBus.java:86) at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) at java.lang.reflect.Constructor.newInstance(Constructor.java:423) at java.lang.Class.newInstance(Class.java:442) at java.util.ServiceLoader$LazyIterator.nextService(ServiceLoader.java:380) at java.util.ServiceLoader$LazyIterator.next(ServiceLoader.java:404) at java.util.ServiceLoader$1.next(ServiceLoader.java:480) at org.eclipse.kapua.commons.event.ServiceEventBusManager.<clinit>(ServiceEventBusManager.java:43) at org.eclipse.kapua.qa.steps.EmbeddedBroker.start(EmbeddedBroker.java:90) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at cucumber.runtime.Utils$1.call(Utils.java:37) at cucumber.runtime.Timeout.timeout(Timeout.java:13) at cucumber.runtime.Utils.invoke(Utils.java:31) at cucumber.runtime.java.JavaHookDefinition.execute(JavaHookDefinition.java:60) at cucumber.runtime.Runtime.runHookIfTagsMatch(Runtime.java:223) at cucumber.runtime.Runtime.runHooks(Runtime.java:211) at cucumber.runtime.Runtime.runBeforeHooks(Runtime.java:201) at cucumber.runtime.model.CucumberScenario.run(CucumberScenario.java:40) at cucumber.runtime.junit.ExecutionUnitRunner.run(ExecutionUnitRunner.java:91) at cucumber.runtime.junit.FeatureRunner.runChild(FeatureRunner.java:63) at cucumber.runtime.junit.FeatureRunner.runChild(FeatureRunner.java:18) at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236) at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229) at org.junit.runners.ParentRunner.run(ParentRunner.java:309) at cucumber.runtime.junit.FeatureRunner.run(FeatureRunner.java:70) at cucumber.api.junit.Cucumber.runChild(Cucumber.java:93) at cucumber.api.junit.Cucumber.runChild(Cucumber.java:37) at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236) at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229) at org.junit.runners.ParentRunner.run(ParentRunner.java:309) at cucumber.api.junit.Cucumber.run(Cucumber.java:98) at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:365) at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:272) at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:236) at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:159) at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:386) at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:323) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:143) Caused by: io.netty.channel.AbstractChannel$AnnotatedConnectException: syscall:getsockopt(..) failed: Connection refused: /127.0.0.1:5672 at io.netty.channel.unix.Socket.finishConnect(..)(Unknown Source) Caused by: io.netty.channel.unix.Errors$NativeConnectException: syscall:getsockopt(..) failed: Connection refused ... 1 common frames omitted 05:06:38.184 [main] ERROR o.e.k.c.event.ServiceEventBusManager - Error while initializing org.eclipse.kapua.commons.event.ServiceEventBusManager, org.eclipse.kapua.commons.event.ServiceEventBusDriver: Provider org.eclipse.kapua.commons.event.jms.JMSServiceEventBus could not be instantiated java.util.ServiceConfigurationError: org.eclipse.kapua.commons.event.ServiceEventBusDriver: Provider org.eclipse.kapua.commons.event.jms.JMSServiceEventBus could not be instantiated at java.util.ServiceLoader.fail(ServiceLoader.java:232) at java.util.ServiceLoader.access$100(ServiceLoader.java:185) at java.util.ServiceLoader$LazyIterator.nextService(ServiceLoader.java:384) at java.util.ServiceLoader$LazyIterator.next(ServiceLoader.java:404) at java.util.ServiceLoader$1.next(ServiceLoader.java:480) at org.eclipse.kapua.commons.event.ServiceEventBusManager.<clinit>(ServiceEventBusManager.java:43) at org.eclipse.kapua.qa.steps.EmbeddedBroker.start(EmbeddedBroker.java:90) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at cucumber.runtime.Utils$1.call(Utils.java:37) at cucumber.runtime.Timeout.timeout(Timeout.java:13) at cucumber.runtime.Utils.invoke(Utils.java:31) at cucumber.runtime.java.JavaHookDefinition.execute(JavaHookDefinition.java:60) at cucumber.runtime.Runtime.runHookIfTagsMatch(Runtime.java:223) at cucumber.runtime.Runtime.runHooks(Runtime.java:211) at cucumber.runtime.Runtime.runBeforeHooks(Runtime.java:201) at cucumber.runtime.model.CucumberScenario.run(CucumberScenario.java:40) at cucumber.runtime.junit.ExecutionUnitRunner.run(ExecutionUnitRunner.java:91) at cucumber.runtime.junit.FeatureRunner.runChild(FeatureRunner.java:63) at cucumber.runtime.junit.FeatureRunner.runChild(FeatureRunner.java:18) at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236) at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229) at org.junit.runners.ParentRunner.run(ParentRunner.java:309) at cucumber.runtime.junit.FeatureRunner.run(FeatureRunner.java:70) at cucumber.api.junit.Cucumber.runChild(Cucumber.java:93) at cucumber.api.junit.Cucumber.runChild(Cucumber.java:37) at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236) at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229) at org.junit.runners.ParentRunner.run(ParentRunner.java:309) at cucumber.api.junit.Cucumber.run(Cucumber.java:98) at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:365) at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:272) at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:236) at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:159) at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:386) at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:323) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:143) Caused by: javax.jms.JMSException: syscall:getsockopt(..) failed: Connection refused: /127.0.0.1:5672 at org.apache.qpid.jms.exceptions.JmsExceptionSupport.create(JmsExceptionSupport.java:86) at org.apache.qpid.jms.exceptions.JmsExceptionSupport.create(JmsExceptionSupport.java:108) at org.apache.qpid.jms.JmsConnection.connect(JmsConnection.java:168) at org.apache.qpid.jms.JmsConnectionFactory.createConnection(JmsConnectionFactory.java:204) at org.eclipse.kapua.commons.event.jms.JMSServiceEventBus$EventBusJMSConnectionBridge.<init>(JMSServiceEventBus.java:236) at org.eclipse.kapua.commons.event.jms.JMSServiceEventBus.<init>(JMSServiceEventBus.java:86) at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) at java.lang.reflect.Constructor.newInstance(Constructor.java:423) at java.lang.Class.newInstance(Class.java:442) at java.util.ServiceLoader$LazyIterator.nextService(ServiceLoader.java:380) ... 42 common frames omitted Caused by: io.netty.channel.AbstractChannel$AnnotatedConnectException: syscall:getsockopt(..) failed: Connection refused: /127.0.0.1:5672 at io.netty.channel.unix.Socket.finishConnect(..)(Unknown Source) Caused by: io.netty.channel.unix.Errors$NativeConnectException: syscall:getsockopt(..) failed: Connection refused ... 1 common frames omitted
Standard Error
SLF4J: Class path contains multiple SLF4J bindings. SLF4J: Found binding in [jar:file:/home/hudson/genie.kapua/.jenkins/jobs/release-1.0.x-build/workspace/.repository/ch/qos/logback/logback-classic/1.1.8/logback-classic-1.1.8.jar!/org/slf4j/impl/StaticLoggerBinder.class] SLF4J: Found binding in [jar:file:/home/hudson/genie.kapua/.jenkins/jobs/release-1.0.x-build/workspace/.repository/org/slf4j/slf4j-simple/1.7.21/slf4j-simple-1.7.21.jar!/org/slf4j/impl/StaticLoggerBinder.class] SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an explanation. SLF4J: Actual binding is of type [ch.qos.logback.classic.util.ContextSelectorStaticBinder]